exports.add=[{
	_type:"controller",
	_config: {
		path:"",
		name:"Files"
	},

	/**
	 * Controller: Files.last_in_file_folder
	 *
	 * Parameters:
	 *		config.id
	 */
	last_in_file_folder: function(config) {
		var f=this.site.models.File.Get("get_last_in_file_folder",{file_folder_id:config.id});
		if (f.url) return f.url;
		return "";
	}
}];
